package classloader;

import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class HelloLoader {
    public void print() {
        System.out.println("I am in AppLoader");
    }

    public static void main(String[] args) {
//        ExecutorService service = Executors.newCachedThreadPool();
//        List<Integer> list = new LinkedList<>();
//        for (int j = 0; j < 1000000; j++) {
//            service.execute(() -> list.add(1));
//        }
//        service.shutdown();
//        StringBuilder sb = new StringBuilder();
//        String s = "hello";
//        for (int i = s.length() - 1; i >= 0; i--) {
//            sb.append(s.charAt(i));
//        }
//        System.out.println(sb.toString());
    }
}